package com.yl.util;

public class Constants {
		/**
		 * 系统常量
		 */
		
		//设备一些常量
		public static int SCREEN_WIDTH = 480;
		public static int SCREEN_HEIGHT = 800;
		public static final String TAG = "yunlai";
		public static String SDCARD_PATH = "";
		public static String APP_NAME = "ifanr";
		
		//接口命令(自己定义)
		public static String ACCESS_SERVICE_LINK = "http://app.yunlai.cn:8080/APPInterfaceServer";//正式
//		public static String ACCESS_SERVICE_LINK = "http://192.168.1.55:1020";//大头
		public static final int CMD_PUSH = 9;//消息推送
		public static final int CMD_APNS = 10;//App 推送设备令牌
		
		//数据库表版本号对应的id
		public static final int VER_PUSH = 11;//消息推送
		
		
//		/**************配置文件关键字**************/
		
		//资源保存的路径
		public static String PATH_TEMP = "/" + APP_NAME + "/temp/";
		public static String PATH_LOG ="/" + APP_NAME + "/log/";
		
		//分享
		public static String SHARE_CONTENT = "这个内容很精彩，强烈推荐!";
		
		//邮件主题和正文
		public static String EMAIL_SUBJECT = "";
		public static String EMAIL_CONTENT = "";

		//设置模块的列表
//		public static List<PartInfoBean> TAB_PART_LIST = new ArrayList<PartInfoBean>();//tab
		
		//微博分享地址
		public static String SINA_WEIBO_URL = "http://v.t.sina.com.cn/share/share.php?title=";//新浪微博
		public static String TENCENT_WEIBO_URL = "http://v.t.qq.com/share/share.php?title=";//腾讯微博
		
		//google地图接口
		public static final String KEY = "ABQIAAAAi0wvL4p1DYOdJ0iL-v2_sxR-h6gSv-DalIHlg2rPU6QFhO9KcRRTQ8IhBeqcKLxlL3lMxiK9r4f7Ug";
		public static final String GOOGLE_MAP_URL = "http://ditu.google.cn/maps/geo?output=csv&key=%s&q=%s,%s&hl=zh-CN";
		public static final String GOOGLE_MAP_SEARCH = "http://maps.google.com/maps/geo?q=%s&output=csv&key=%s";
		
		
		//请求activity的code
		public static final int EDIT_MY_SERVICE = 103;
		public static final int EDIT_MAP_REQUEST = 104;
		public static final int EDIT_CAMERA_REQUEST = 105;
		public static final int EDIT_ALBUM_REQUEST = 106;
		public static final int EDIT_PHOTO_CUT_REQUEST = 107;
		
		//video路径（应该配到string.xml，暂时写在这里，因为string.xml读取老失败未找到原因）
//		public static final String VIDEO_PATH = "android.resource://" + StartActivity.class.getPackage().getName() + "/";
		public static final String VIDEO_PATH = "file:///android_asset/video/";
		public static final String VIDEO_DESC_1 = "蚝门酒色，生活慢慢来";
		public static final String VIDEO_DESC_2 = "蚝吧，从微做起";
		
		
		//推送
		public static int VER_PUSH_CURRENT = -1;//-1表示未初始化过
		public static String PROVINCE_NOW = "";
		public static String CITY_NOW = "";
		public static String LOCATION = "";
		public static boolean isAppRunning = false;
		
		
		//mac地址
		public static String MAC_ADDRESS = "";

		//RSS地址
		public static String RSS_URL = "http://www.ifanr.com/feed";
}
